﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace One.Models
{
    [Table("content")]
    public class Content
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        public int ContentType { get; set; }
         
        public int Category { get; set; }
           
        /// <summary>
        /// 2018 / 01 / 15
        /// </summary>
        public string Date { get; set; }

        public DateTime PostDate { get; set; }
         
        /// <summary>
        /// VOL.1928
        /// </summary>
        public string Title { get; set; }
         
        public string Url { get; set; }
         
        public string ImgUrl { get; set; }
         
        /// <summary>
        /// 插画 | 吐纸超人
        /// </summary>
        public string PictureAuthor { get; set; }
         
        public string Text { get; set; }
         
        public string TextAuthors { get; set; } 
    }
}
